//
//  NetwokeManager.h
//  NSURLSession封装
//
//  Created by 周成龙 on 16/11/1.
//  Copyright © 2016年 ZCL. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^completeBlock)(NSData *data, NSError *error);

@interface NetwokeManager : NSObject

//+ (instancetype)shareNetwokeManager;
- (void)GetMethodURL:(NSString *)path parameters:(NSDictionary *)parameters uploadPreogerss:(void (^)(NSProgress *))progress complete:(completeBlock)completeBlock;
- (void)POSTMethodURL:(NSString *)path parameters:(NSDictionary *)parameters uploadPreogerss:(void (^)(NSProgress *))progress complete:(completeBlock)completeBlock ;

@end
